package com.woniuxy.classteacher.service;

import com.woniuxy.commons.entity.Vedio;
import org.springframework.stereotype.Service;

/**
 * @author 李英勇
 * @date 2020/7/21 - 17:33
 * 视频操作相关的service
 */
@Service
public interface VideoService {
    //上传视频
    public int upVideo(Vedio vedio,String refreshToken);

    //通过vid获取video
    public Vedio getVideoByVid(int vid,String refreshToken);

    //点赞
    public int thumbsupVideoByVid(int vid);

    //修改视频
    public int updateVideo(Vedio vedio);

    //删除视频
    public int delVideoByVid(int vid);



}
